Release 10.1A: OpenEdge Development:
Java Open Clients
Passing a TABLE or TABLE-HANDLE as an INPUT-OUTPUT parameter
INPUT–OUTPUTTABLEandTABLE-HANDLEparameters are a combination ofINPUTandOUTPUTparameters.For an
INPUT-OUTPUTparameter, you must pass an instance ofcom.progress.open4gl.ResultSetHolder, which contains a reference to a client-suppliedjava.sql.ResultSetobject instance. On output, the holder object contents are changed to reference acom.progress.open4gl.ProResultSetobject instance.If the parameter is a
TABLE-HANDLE, the value returned can be unknown. As a result, callinggetResultSetValue()on the holder returns null.For more information on creating a
java.sql.ResultSetfor input, see the "Passing a TABLE or TABLE-HANDLE as an INPUT parameter" section. For more information onProResultSetobjects, see the "Accessing TABLE or TABLE-HANDLE parameters as OUTPUT" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |